#!/usr/bin/python
# -*- coding: UTF-8 -*-
from MiniBotControlLib import MiniBotControlLib

# ------------------------------
# 	1、扫描在线设备
# ------------------------------

# 声明控制库对象
mlib = MiniBotControlLib("udp")


# 	1、扫描在线设备
rbs = mlib.ScanOnlineRobots()
c = len(rbs)
print("Total Robots="+str(c))
for rb in rbs:
    print("Total Robots="+rb)
